package com.woniu.bank.mapper;

import com.woniu.bank.dto.FarmerLoanSheetDTO;
import com.woniu.bank.entity.FarmerLoanSheet;
import com.woniu.bank.vo.FarmerLoanSheetVO;

import java.util.List;

/**
* @author wangheng
* @description 针对表【farmer_loan_sheet(农户贷款详情表)】的数据库操作Mapper
* @createDate 2023-01-03 16:56:02
* @Entity com.woniu.bank.entity.FarmerLoanSheet
*/
public interface FarmerLoanSheetMapper {

    List<FarmerLoanSheetVO> selectFlsVOByFlsDTO(FarmerLoanSheetDTO farmerLoanSheetDTO);

    List<FarmerLoanSheetVO> selectDscByFlsDTO(FarmerLoanSheetDTO farmerLoanSheetDTO);
    List<FarmerLoanSheetVO> selectDspByFlsDTO(FarmerLoanSheetDTO farmerLoanSheetDTO);

    FarmerLoanSheetVO selectXqByPrimaryKey(Long loanDetailsId);

    List<FarmerLoanSheetVO> selectFls2VOByFlsDTO(FarmerLoanSheetDTO farmerLoanSheetDTO);

    List<FarmerLoanSheetVO> selectByCdn(String clinetDocumentsNumber);

    List<Integer> selectPrimaryKey();

    int deleteByPrimaryKey(Long id);

    int insert(FarmerLoanSheet record);

    int insertSelective(FarmerLoanSheet record);

    FarmerLoanSheet selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FarmerLoanSheet record);

    int updateByPrimaryKey(FarmerLoanSheet record);

}
